package Test;

import SocketMake.SocketMaking;

import java.io.IOException;

public class SocketTest {
    public static void main(String[] args) {
        SocketMaking sm0 = null;
        try {
            sm0 = new SocketMaking();
            sm0.socketStart();
        } catch (IOException | InterruptedException | ClassNotFoundException e) {
            e.printStackTrace();
        } finally {
            try {
                assert sm0 != null;
                sm0.socketClose();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
